Skip to content

feat: keep the Extensions menu inside the window and show when rows remain below (0.15.0) - #24

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/menu-under-bar-0.15.0
Nov 30, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/menu-under-bar-0.15.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat: keep the Extensions menu inside the window and show when rows remain below (0.15.0)

Summary

  • The Extensions menu (a popover hanging from its toolbar button, listing every ready extension's commands) had only a max-height: 60vh cap from the stylesheet, which ignores where the button sits, so a long menu in a short window ran past the bottom edge. It now takes an inline max-height of min(75% of the window, innerHeight - top - 4), measured from its own top while it is still visibility: hidden, and scrolls the rest. A resize while it is open recomputes the cap.
  • The more-below hint of FORM-MENU-OVERLAP-FIX 1.2.0, section 3a: the rows move into a scrolling .ext-menu-list inside the card, the bottom rows fade into the card's own --float while rows remain, and a 56 by 12 pill (.ext-menu-more, card tokens --float, --edge-strong, --ink-soft, --radius-pill) shows; both go at the last row (160 ms) and come back on scrolling up (490 ms). The hint is in place on the first painted frame (showMore(true)).
  • Group D (no in-window menu bar): the floor is the button's bottom edge plus the gap, where the stylesheet already places the menu; placement, colours, border and padding are unchanged. formMCP has no right-click or other point-anchored menu.
  • The release also carries the changes merged since v0.14.1: the third-party notices (Licences in the footer, formmcp-cli notices), the gone agent program and disk image checks, and the settings, launcher and heartbeat fixes.

Commits

  • feat: keep the Extensions menu inside the window and show when rows remain below
  • chore(release): 0.15.0

Version

v0.15.0 (release commit is last). Bumped: Cargo.toml (workspace), Cargo.lock (formmcp, formmcp-cli, formmcp-core), frontend/package.json and the two own fields of frontend/package-lock.json, src-tauri/tauri.conf.json (formcompiler's version file), the README badge, the wiki Home, SECURITY.md's supported line, the six HASHOUT log heads, and a CHANGELOG section for 0.15.0 that takes the Unreleased notes. All three demos (demo, demos/connect, demos/safety) rebuilt from the release tip; old bundle files removed.

Checks

  • npm run build (tsc --noEmit and vite build): clean, run again after rebasing onto the moved main (694c846).
  • npm run build:demo (tsc -p ../demo and vite build) and both demos' own vite builds: clean.
  • menuprobe on the production build, CPU throttled 4 times, with 40 sample rows added to the list in the page (the browser build has no extensions, so its own menu has 3 rows). The floor is the Extensions button's bottom edge (252.5).
    • 1280x800: top 256.5 in every opening frame, 539 tall, bottom 795.5, hint on with pill opacity 1 on open, off at the end (pill 0).
    • 1000x480: top 256.5, 219 tall, bottom 475.5, hint on at open, off at the end.
    • The real 3-row menu at both sizes: 94 tall, no hint.
  • Demo 1 from file:// at 1000x480 with the same sample rows: no page errors, top 458.8 under the button at 454.8, bottom 475.8, hint on and then off at the end.
  • No frontend tests exist; Rust code is untouched by this change.

Not run: the "before" probe on origin/main (skipped by instruction; the 60vh overflow is from reading the CSS); 1871x1080 and 800x320 sizes; hint timings; End and Home (the menu has no such keys); the arrow-key fade check; reduced motion; the Tauri desktop build; cargo test. DOM law: verified under throttling (the menu was never seen at another place in any opening frame); first-frame size not checked frame by frame.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…emain below

The Extensions menu hangs from its toolbar button and lists every ready extension's commands. Its only cap was 60vh from the stylesheet, so in a short window a long menu ran past the bottom edge. It now takes an inline max-height of three quarters of the window, never past the bottom, measured from its own top while it is still hidden, and scrolls the rest. While rows remain below, the bottom rows fade into the card and a small down pill shows; both go at the last row. The rows move into a scrolling list inside the card, so the fade does not touch the card. FORM-MENU-OVERLAP-FIX 1.2.0, section 3b.
Version sites, the same as 0.14.1's: Cargo.toml (workspace), Cargo.lock
(formmcp, formmcp-cli, formmcp-core), frontend/package.json and
package-lock.json (own fields), src-tauri/tauri.conf.json, the README
badge, the wiki Home, SECURITY.md's supported line (0.15.x), the core,
frontend, src-tauri, demo, demos/connect and demos/safety HASHOUT log
heads, and the CHANGELOG entry for 0.15.0, which takes the Unreleased
notes and the third-party notices merged after them.

All three demos rebuilt from this tip: demo 1 with npm run build:demo,
demos 2 and 3 with their own vite configs; the old bundle files are
removed. The README hero picture is not remade.

Run on this tree: npm run build (tsc --noEmit and vite build) and npm
run build:demo (tsc -p ../demo and vite build).
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 30, 2026 23:26
@nodemode-ai
nodemode-ai merged commit 1bd296e into main Nov 30, 2026
4 checks passed
@nodemode-ai
nodemode-ai deleted the fix/menu-under-bar-0.15.0 branch November 30, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant